package com.service;

import com.domain.PageObject;
import com.domain.sys.SysRole;
import com.domain.sys.SysRoleMenu;


public interface SysRoleService {

    PageObject<SysRole> findPageObjects(String name, Integer pageCurrent);


    Integer deleteObject(Integer id);

    Integer saveObject(SysRole entity,Integer[] menuIds);

    SysRoleMenu findObjectById(Integer id);

    Integer updateObject(SysRole entity,Integer[] menuIds);
}
